package com.ruoyi.jhc.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.jhc.mapper.JhcCchHbMapper;
import com.ruoyi.jhc.domain.JhcCchHb;
import com.ruoyi.jhc.service.IJhcCchHbService;

/**
 * 环保二次除尘录入Service业务层处理
 * 
 * @author lgx
 * @date 2023-05-10
 */
@Service
public class JhcCchHbServiceImpl implements IJhcCchHbService 
{
    @Autowired
    private JhcCchHbMapper jhcCchHbMapper;

    /**
     * 查询环保二次除尘录入
     * 
     * @param cDate 环保二次除尘录入主键
     * @return 环保二次除尘录入
     */
    @Override
    public JhcCchHb selectJhcCchHbByCDate(String cDate)
    {
        return jhcCchHbMapper.selectJhcCchHbByCDate(cDate);
    }

    /**
     * 查询环保二次除尘录入列表
     * 
     * @param jhcCchHb 环保二次除尘录入
     * @return 环保二次除尘录入
     */
    @Override
    public List<JhcCchHb> selectJhcCchHbList(JhcCchHb jhcCchHb)
    {
        return jhcCchHbMapper.selectJhcCchHbList(jhcCchHb);
    }

    /**
     * 新增环保二次除尘录入
     * 
     * @param jhcCchHb 环保二次除尘录入
     * @return 结果
     */
    @Override
    public int insertJhcCchHb(JhcCchHb jhcCchHb)
    {
        return jhcCchHbMapper.insertJhcCchHb(jhcCchHb);
    }

    /**
     * 修改环保二次除尘录入
     * 
     * @param jhcCchHb 环保二次除尘录入
     * @return 结果
     */
    @Override
    public int updateJhcCchHb(JhcCchHb jhcCchHb)
    {
        return jhcCchHbMapper.updateJhcCchHb(jhcCchHb);
    }

    /**
     * 批量删除环保二次除尘录入
     * 
     * @param cDates 需要删除的环保二次除尘录入主键
     * @return 结果
     */
    @Override
    public int deleteJhcCchHbByCDates(String[] cDates)
    {
        return jhcCchHbMapper.deleteJhcCchHbByCDates(cDates);
    }

    /**
     * 删除环保二次除尘录入信息
     * 
     * @param cDate 环保二次除尘录入主键
     * @return 结果
     */
    @Override
    public int deleteJhcCchHbByCDate(String cDate)
    {
        return jhcCchHbMapper.deleteJhcCchHbByCDate(cDate);
    }
}
